package com.yonyou.iuap.jxzy.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.yonyou.iuap.baseservice.intg.service.GenericIntegrateService;
import com.yonyou.iuap.baseservice.intg.support.ServiceFeature;
import com.yonyou.iuap.jxzy.dao.WastePaperBodyMapper;
import com.yonyou.iuap.jxzy.entity.WastePaperBodyVO;

/**
 * 进口废纸service
 * @author wanggp
 * @date 2019年5月28日
 */
@Service
public class WastePaperBodyService extends GenericIntegrateService<WastePaperBodyVO>{

	@Autowired
	private WastePaperBodyMapper paperbodymapper;
	
	public int insertPaperBody(List<WastePaperBodyVO> wastepaperbody){
		int bodylenth=this.paperbodymapper.insertWastePaperBodyVO(wastepaperbody);
		return bodylenth;
	}
	
	public List<WastePaperBodyVO> queryPaperBodyVO(String pk_pound){
		List<WastePaperBodyVO> bodyvolist=this.paperbodymapper.queryWastePaperBodyVO(pk_pound);
		return bodyvolist;
	}
	
	public int deletePaperBodyVO(String pk_pound){
		int bodyvo=this.paperbodymapper.deleteWastePaperBodyVO(pk_pound);
		return bodyvo;
	}
	
	
	@Override
	protected ServiceFeature[] getFeats() {
		return new ServiceFeature[0];
	}

}
